﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FreedomERP.Models;

namespace FreedomERP.Services.Inv
{
    /// <summary>
    /// 送货单明细业务层接口类
    /// 作者：姚少鹏
    /// </summary>
    interface IInvSendOrderDetailService
    {
        /// <summary>
        /// 添加送货单明细
        /// </summary>
        /// <param name="sendOrderDetail"></param>
        void addSendOrderDetail(InvSendOrderDetail sendOrderDetail);

        /// <summary>
        /// 删除送货单明细
        /// </summary>
        /// <param name="sendOrderDetail"></param>
        void delSendOrderDetail(InvSendOrderDetail sendOrderDetail);

        /// <summary>
        /// 更新送货单明细
        /// </summary>
        /// <param name="sendOrderDetail"></param>
        void updateSendOrderDetail(InvSendOrderDetail sendOrderDetail);

        /// <summary>
        /// 根据FId获取送货单明细
        /// </summary>
        /// <param name="FId"></param>
        /// <returns></returns>
        InvSendOrderDetail getSendOrderDetailByFId(string FId);

        /// <summary>
        /// 根据FParentId获取送货单明细列表
        /// </summary>
        /// <param name="FParentId"></param>
        /// <returns></returns>
        List<InvSendOrderDetail> getSendOrderDetailListByFParentId(string FParentId);

        /// <summary>
        /// 获取送货单明细列表
        /// </summary>
        /// <returns></returns>
        List<InvSendOrderDetail> getSendOrderDetailList();
    }
}
